Repository navigation
fix(dsgai-2026): align NHI mapping with the DSGAI 2026 v1.0 taxonomy … - #445
emmanuelgjr merged 3 commits into
Conversation
There was a problem hiding this comment.
Thanks, @muyanli. This is a real bug, and the PR fixes it carefully. The page citations and the "judgment calls worth a second look" list made it easy to review.
What I checked, on 6ee51e1 (based on f3740ef):
- All 21 headings match the DSGAI 2026 v1.0 titles exactly.
validate.js: 0 errors. Warnings drop from 10 to 9; INC-134's NHI-4 now resolves.- 170 of 170 script tests pass.
stats:checkis current, and regenerating gives no drift.- markdownlint: 0 errors.
- No other framework's rows change, and no reviewed row is touched.
- Severities in the quick-reference table match
data/entries. - The only mapping row dropped is old DSGAI05 "Guardrail Circumvention", as you describe.
One change before merge: repeated rows. Several old sections were joined into one 2026 entry, so the same NHI control now appears more than once under it:
| Entry | Repeated controls |
|---|---|
| DSGAI01 | NHI-5 ×3, NHI-2 ×2 |
| DSGAI02 | NHI-5 ×3, NHI-7 ×2, NHI-9 ×2 |
| DSGAI04 | NHI-2, NHI-3, NHI-5, NHI-6, NHI-7, NHI-8, ×2 each |
| DSGAI07 | NHI-10 ×2 |
That's 14 repeated rows; main has none. They're why the public mapping count goes from 3,793 to 3,819 (+26), when only 12 of those are new (entry, control) pairs. Could you merge them into one row per NHI control per entry, combining the "How it applies" and "Mitigation" text? The bulleted mitigations under those headings can be merged the same way. Two paragraphs also now say the same thing; in DSGAI04, for example, two consecutive paragraphs each end with "the enabling conditions". This only touches dsgai-2026/DSGAI_NHI.md, plus a regenerate.
On your judgment calls: both placements look reasonable to me. Old "Model Weight Theft" goes to DSGAI02, given DSGAI20's exclusion on p. 94. Old "Context Window Poisoning" goes to DSGAI15. The rows stay unreviewed, so an SME confirms them later either way.
The other six files in #444: PRs for them are welcome, one file per PR, the same way as this one. The validate check you offered, comparing each file's headings with the taxonomy, would be very welcome as its own PR. It stops this from happening again.
Separately, the entry names in data/entries/ are shortened forms of the official titles, for example DSGAI07 "Data Governance and Lifecycle". I've opened #446 for that, so nothing changes here.
CI for fork PRs needs a maintainer's approval to run. It will be approved before merge.
|
Heyy @emmanuelgjr Thanks for the review! I merged the repeated controls in DSGAI01, DSGAI02, DSGAI04 and DSGAI07, so each control now appears once per entry, with the "How it applies" and mitigation text combined and the overlapping paragraphs folded into one. NHI rows go from 49 on main to 61 (12 new entry–control pairs), and the per-entry control sets are unchanged. I'll open the other six files as separate PRs. |
|
Hi @emmanuelgjr, gentle bump on this one, thank you!! |
2785b3a to
3065b46
Compare
What this PR changes
dsgai-2026/DSGAI_NHI.md, affecting DSGAI01–DSGAI21 (all entries). Part of #444.The file used DSGAI headings from a list that doesn't match the 2026 v1.0 taxonomy, even though its header cites that taxonomy as the source list. This PR keeps the existing content and moves each section to the 2026 entry it addresses, based on the entry definitions in the v1.0 PDF. It adds content only where the old file had nothing for a 2026 entry.
Type of change
Source / evidence
dsgai-2026/mapping files use a DSGAI list that doesn't match the 2026 v1.0 taxonomy #444: file-by-file comparisonChecklist
Content
tags, detailed per-entry mappings, references, changelog)
shared/SEVERITY.md(unchanged from the values already indata/entries/)Agentic_X.md, that file mentions this one backLLM01–LLM10,ASI01–ASI10,DSGAI01–DSGAI21)CC BY-SA 4.0Links & data
.mdlinks resolve to real fileslychee)data/schema.jsoncompatible (if adding a new entry type)Project hygiene
YYYY-MM-DDformat)CHANGELOG.mdupdated if this is a new mapping file (include in correct version section)README.mdcounts updated if file count changed (badge + summary table + section heading + repo tree); mapping counts regenerated bynpm run statsnode scripts/validate.js --file <path>locally and it passesFor new mapping files only
N/A
Notes for reviewers
Section moves
Judgment calls worth a second look
Scope: moved rows remain
unreviewed. This PR fixes their placement, not their content.Validation:
npm run buildpasses, and repo-wide warnings drop from 10 to 9. The resolved warning is INC-134: NHI-4 failed under DSGAI02 and wasn't mapped before.Not in scope: the registry and NHI files use "Insecure Credential Storage" (NHI-6) and "Long-Lived Credentials" (NHI-7). In the official 2025 list these are "Insecure Cloud Deployment Configurations" and "Long-Lived Secrets". I kept the registry names here and can raise that separately.